package com.nftturbocollection.domain.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.nftturbobase.response.PageResponse;
import com.nftturbocollection.domain.entity.Collection;


/**
 * 藏品服务
 *
 * @author Hollis
 */
public interface CollectionService extends IService<Collection> {

    /**
     * 分页查询
     *
     * @param keyWord
     * @param state
     * @param currentPage
     * @param pageSize
     * @return
     */
    public PageResponse<Collection> pageQueryByState(String keyWord, String state, int currentPage, int pageSize);

    /**
     * 查询
     *
     * @param collectionId
     * @return
     */
    public Collection queryById(Long collectionId);
}
